
interface IApi {
    userinfo: string,
    login: string
    query: string
    Addjia: string
    queryyi: string
    Addyi: string
    queryname: string
    addname: string
    querycolor: string
    addcolor: string
    querydirection: string
    adddirection: string
    querylight: string
    addlight: string
}
let api: IApi = {
    userinfo: "/userinfo",
    login: "/api/users/login",
    query: "/api/parta/list",
    Addjia: "/api/parta/add",
    queryyi: "/api/partb/list",
    Addyi: "/api/partb/add",
    queryname: "/api/product/list",
    addname: "/api/product/add",
    querycolor: "/api/productcolor/list",
    addcolor: "/api/productcolor/add",
    querydirection: "/api/productdirection/list",
    adddirection: "/api/productdirection/add",
    querylight: "/api/productlight/list",
    addlight: "/api/productlight/add"
}
export default api;